package com.example.wm.SanWar.VO;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wxpay") // 指定配置前缀，例如在application.yml中配置为wxpay.merchant-id等
@Data // Lombok 注解，自动生成getter和setter
public class WxPayConfig {

    private String merchantId; // 商户 ID

    private String privateKey; // 商户私钥

    private String merchantSerialNumber; // 商户序列号

    private String apiV3Key; // API v3 密钥
    private String appId;
    private String payNotifyUrl;

}